<%= error_messages_for :reservation %>
<% form_for :reservation, :url => {:controller => 'reservations', :action => 'update', :id => @reservation }, :html => {:method => :put} do |form| -%>
<fieldset>
    <legend>Update reservation</legend>
    
    <%= render :partial => 'form' %>

    <p><%= submit_tag 'Submit changes' %></p>
</fieldset>
<% end -%>
